package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingReceiveNoticeEntity;
import com.ly.heart.domain.vo.select.KingReceiveNoticeSelectVo;
import com.ly.heart.domain.vo.select.query.KingReceiveNoticeSelectQueryDto;

/**
 * 金蝶-收料通知单Mapper接口
 *
 * @author cxl
 * @date 2024-08-09
 */
public interface KingReceiveNoticeMapper extends BaseMapper<KingReceiveNoticeEntity> {
    /**
     * 查询金蝶-收料通知单
     *
     * @param id 金蝶-收料通知单ID
     * @return 金蝶-收料通知单
     */
    public KingReceiveNoticeEntity selectKingReceiveNoticeEntityById(String id);

    /**
     * 查询金蝶-收料通知单列表
     *
     * @param kingReceiveNoticeEntity 金蝶-收料通知单
     * @return 金蝶-收料通知单集合
     */
    public List<KingReceiveNoticeEntity> selectKingReceiveNoticeEntityList(KingReceiveNoticeEntity kingReceiveNoticeEntity);

    /**
     * 新增金蝶-收料通知单
     *
     * @param kingReceiveNoticeEntity 金蝶-收料通知单
     * @return 结果
     */
    public int insertKingReceiveNoticeEntity(KingReceiveNoticeEntity kingReceiveNoticeEntity);

    /**
     * 修改金蝶-收料通知单
     *
     * @param kingReceiveNoticeEntity 金蝶-收料通知单
     * @return 结果
     */
    public int updateKingReceiveNoticeEntity(KingReceiveNoticeEntity kingReceiveNoticeEntity);

    /**
     * 删除金蝶-收料通知单
     *
     * @param id 金蝶-收料通知单ID
     * @return 结果
     */
    public int deleteKingReceiveNoticeEntityById(String id);

    /**
     * 批量删除金蝶-收料通知单
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteKingReceiveNoticeEntityByIds(String[] ids);

    /**
     * 查询总数
     * @return
     */
    Integer queryCount();

    /**
     * 查询收料通知单选单
     * @param queryDto
     * @return
     */
    List<KingReceiveNoticeSelectVo> getKingReceiveNoticeSelect(KingReceiveNoticeSelectQueryDto queryDto);

    /**
     * 查询总数
     * @return
     */
    Integer queryTotalCount(KingReceiveNoticeSelectQueryDto queryDto);
}
